/**
 * \file display.h
 * \brief Display class header
 * \author Marc Laval
 * \version 0.1
 * \date 10/2011
 *
 */

#include "defines.h"
#include <typeinfo>
#include <SDL/SDL.h>

#ifndef _DISPLAY_H_
#define _DISPLAY_H_


class Affichage {

	int nb_cases;	//Par cote
	int taille_fen;  //en pixels

	//SDL
	SDL_Event event;
	SDL_Surface * screen;


public:
	Display(string title) throw (Erreur);
	~Display();

	//Fonction d'affichage
	void draw();

	//Fonction de gestion des controles
	int process_events();
};

#endif //_DISPLAY_H_
